Question: what is the equation for a diagonal line?
Answer: What About y = mx + b ? You may already be familiar with the "y=mx+b" form (called the slope-intercept form of the equation of a line). It is the same equation, in a different form! The "b" value (called the y-intercept) is where the line crosses the y-axis.