How to Complete the Square

Mouse hovers at (0, 0).