Basically here all you want to do it substitute the values x=1 and x=2 for the given function. Use your slope formula [tex]m=\frac{y_{2}-y_{1}}{x_{2}-x_{1} }[/tex].
Do same for x=3 and x=4
You next divide plug in values in to this expression:
[tex]\frac{Slope of B}{Slope of A}[/tex]