having some trouble with this, but I dont know what else goes in the equation besides $\displaystyle XY=-12$, can someone help?

"Find two numbers whose product is -12 and the sum of whose square is a minimum."

i mostly dont know what to do on the last part