Respuesta :

equation of line is y=mx+c

substitute y and x into y=mx+c,
7=1+c
c=6

hence, y=x+6