40PTS. PLEASE HELP, I'LL GIVE BRAINLIST PLEASE I NEED THIS ASSIGNMENT DONE

A student is walking to school and sees a mirror on the ground. She stops a short distance from the mirror to practice her Geometry. She knows her own height and the height of the school. She also knows the distance from the mirror to the school from a previous Geometry activity. She would like to calculate the distance she is standing from the mirror.
The height of the school is 20 ft. The distance from the school to the mirror is 50 ft. The height of the student is 5 ft. What is the distance d between the student and the mirror?
Your classmate solved the problem as shown below. Did they do the work correctly?
20-50
50d = 100
d = 2 ft