This is a right angle triangle problem
drawing a vertical line at from the point where the ramp touches the car park leaves a right angle triangle with the
opposite being 2m
hypothenus being 10m
adjacent unknown
we could use sine
SineO equal to opposite over hypothenus
SineO equal to 2/10
SineO equal to 0.2
O equal to Sine^1(0.2)
O equal to 11 .5
The angle between the ramp and the horizontal is 11.5 degrees
x = -2, x = 5
=> f(x) = a(x+2)(x-5), a ∈ R