Can't Get the Revolve to happen in the middle

Could someone explain to me how to do this, i had a friend help me out and it ended up correctly but i forgot how he did it sadly.

Heres an example of what i want to do:

But this is what happens:

Can anyone give me a hand?

SolidworksEducator Student