Draw the base AB=4.5cm using a ruler.
Construct right angles at both points A and B and draw vertical lines along it.
Using compass, mark an arc of length 4.5cm on both the vertical lines from points
A and B respectively.
Mark the points as D and C respectively.
Join ABCD which is the required square.