Two sides of a right triangle measure 7 units and 3 units. What is the area of the square that shares a side with the third side of the triangle?