We can draw a triangle to describe the situation as shown below:
This is a right triangle, therefore we can use the trigonometric relations on it. We were given one of the angles (23 degrees), the opposite cathetus and we need to find the hypothenuse, therefore we will use the sine relation.
The ramp is 107.5 inches long.