Answer:
The equation representing the heights of each floor is

Height of each floor is 8 feet.
Explanation:
Let the height of each floor be h
Number of floors one building has = 8
Hence Total Height of the building can be calculated by multiplying height of each floor with Number of floors.
Framing in equation form we get.
Total Height of One building =

Also
Ground floor of other building = 16 ft
Number of floors = 6
Hence Total Height of the building can be calculated by multiplying height of each floor with Number of floors plus the height of ground floor.
Total Height of Other building =

Also Given:
Two buildings have the same total height.
Hence Total Height of One building = Total Height of Other building

Hence The equation representing the heights of each floor is

Now Solving these equation we get:

We will first subtract 6h on both side using Subtraction Property of equality we get;

Now Dividing 2 on both side using Division Property of equality we get;

Hence Height of each floor is 8 feet.