Waiting 5 sec for spawning object.

Hi guys.Im working on app where I need to spawn object newBut wait 5 sec and spawn newBut2.
I tryed this code

GameObject newBut = Instantiate (Lann, transform.position + (transform.forward * 10), transform.rotation) as GameObject;

			yield WaitForSeconds(5);
			GameObject newBut2 = Instantiate (Lann, transform.position + (transform.forward * 5), transform.rotation) as GameObject;

And I tried this code

GameObject newBut = Instantiate (Lann, transform.position + (transform.forward * 10), transform.rotation) as GameObject;
			WaitForSeconds wait = new WaitForSeconds (5);
			GameObject newBut2 = Instantiate (Lann, transform.position + (transform.forward * 5), transform.rotation) as GameObject;

But none of these codes worked can you help me please?
Cheer pajamac

It should be:

IEnumarator WaitFor(){
    //… do something
    //To return to execution
    yield return new WaitForSeconds(5);
    //… do something else 5 seconds later

    //To break execution
    //… do the other thing
    yield break new WaitForSeconds(5);
    //… exit coroutine 5 seconds later
}

//Call this function as follows
…
StartCoroutine(WaitFor());
...

void Start (){
StartCoroutine(“CreateObjects”);
}

IEnumerator CreateObjects(){
	GameObject newBut = Instantiate (Lann, transform.position + (transform.forward * 10), transform.rotation) as GameObject;
		
	yield return new WaitForSeconds(5);
		
	GameObject newBut2 = Instantiate (Lann, transform.position + (transform.forward * 5), transform.rotation) as GameObject;
}