You can
put this solution on YOUR website!First, draw a figure/diagram of the problem --it'll help you see the solution.
.
Begin by determining the diagonal of the floor: (Pythagorean)
8^2 + 15^2 = f^2
8^2 + 15^2 = f^2
64 + 225 = f^2
289 = f^2

= f
.
Now, determine the "diagonal of the classroom" using the height and 'f' above:

^2 + 3^2 = d^2
289 + 9 = d^2
298 = d^2

= d
17.26 meters = d