You can put this solution on YOUR website! Let assume equation as y = mx + c
now as given in question
at y = 0 x is 5 so
0 = 5m+c
in the same manner
-7 = c
solving both quations
m = 7/5
writing equation with m and c values
y = (7/5)x -7
rewriting will give us 5y = 7x - 35