To construct a perfect square \(ABCD\) on paper with a given base side length \(AB = 5\text{ cm}\) , a student first draws the segment \(AB\).
 
Gemini_Generated_Image_x74cr9x74cr9x74c.png
 
Which set of operations will accurately establish the missing upper vertices \(D\) and \(C\)?