You can put this solution on YOUR website! If the x-intercept is -4, then it passes through (-4,0) as well as (2,6). So find the slope of the line through these two points. Remember that slope is
Now find the slope from (2,6) to (p,10) , which also must equal to 1 from the other slope you found.