Explanation:
Cuz sides of square are same, we just find hypotenusa side of triangle (use Phytagoras Theorem) :
c² = a² + b²
c² = 2² + 4²
c² = 4 + 16
c² = 20
c = √20
Side of square is √20 units.
The area of square :
A = s²
= √20²
= √20 × √20
= 20 units²
So, the area of square is 20 units²
Hope it helpful and useful :)