Answer: The referee was 29.125 yards from the nearest goal line.
Step-by-step explanation:
Since we have given that
Length of line = 100 yards
Let the x be the distance at the end of quarter nearest goal line .
According to question, He walked 41 3/ 4 yards to a yard line with the same number as the one he had just left.
So, it becomes,

Hence, the referee was 29.125 yards from the nearest goal line.