Use cos sin and tan and looks up rules of cos sin tan and it will show you the rules and use those methods to plug into your equation
It could've been a PENTAGON and a SQUARE.
It could've been a HEXAGON and a TRIANGLE.
Divide 24 by 6 in order to see how many six second intervals there are. 24/6=4. Multiply 4x5 to show many stories the elevator travels. The answer will be 20 stories.