For function 1
p=r+7
On comparing to y=mx+b
For function 2
y intercept is 8
Function 2 has greater intercept