The slope-intercept form:
[tex]y=mx+b[/tex]
m - slope
b - y-intercept
We have the slope m = 1, therefore we have the equation:
[tex]y=1x+b\to y=x+b[/tex].
We have the point (4, 10). Put the coordinates to the equation of a line:
[tex]10=4+b[/tex] subtract 4 from both sides
[tex]6=b\to b=6[/tex]
Answer: [tex]\boxed{y=x+6}[/tex]