The first one
if u need an explanation comment
(f - g(x) = 2x -2x squared
(sorry didn't know how to do the squared sign )
I think those are coordinates of points, (-5,8) and (-2,8)
so you just need to use distance formula ((8-8)^2+(-2+5)^2)=0+9=9
square root 9=3
30:42 is represented as 30/42
The lowest form for that is 5/7. Hope that helped. Good luck