Revolved cilinder in a box

How can i place the revolved cilinder in the box in the middle of the circle in the corner. (until the top of the box)
I was pretty close and have been spending hours but can't find the right way.
Any help will be much appreciated.



Answers