The squaring rule (a+b)2=a2+2ab+b2 with a=5 and b=4y gives
(5+4y)2=52+254y+(4y)2=25+104y+42y2=25+40y+16y4=16y2+40y25