Consider the given number.
42
We know that
(a+b)2=a2+b2+2ab
Therefore,
(40+2)2=(40)2+22+2×40×2
(42)2=1600+4+160
(42)2=1764
Hence, this is the answer.
How to find the square of 31 without actual multiplication?