please help I am totally such on this problem . please show step by step instructions.

Answer: only F is true
Step-by-step explanation:
Assuming the length of each side of the rooms are x, y and z. A square has equal sides and the area of each room is x², y² and z².
Since the sides of the room form a right angle triangle, then the Pythagoras theorem can be applied which is expressed as
Hypotenuse² = opposite side² + adjacent side²
Applying it on the diagram, then
z² = x² + y²
Therefore,
F. The amount of carpet needed in room Z should be the same as the amount needed in both room x and y.
Statement G is not true because the trim would cover the perimeter of each room and the perimeter of room z is not the sum of the perimeters of room x and room y.