Marku, obávám se, že to máš blbě. (a + b)^2 se nerovná a^2 + b^2, ale musí se to řešit podle vzorce a^2 + 2ab + b^2.