making a sleeve for metal post

hello i am quite new to the 3d printing but have got a little stuck with this one.
i need to make a end cap for a frame but not sure how to make one
its 4.5 cm square and 2 cm high
can any one point me in the right diretion

picture enclosed
many thankss