Which of the following is the equation of a line that makes a 45degree angle with the xaxis and has a yintercept of 2?

✓
y=x+2

×
y=x2

×
y=45x+2

×
y=45x2

×
y=2x+45
Which of the following is the equation of a line that makes a 45degree angle with the xaxis and has a yintercept of 2?
y=x+2
y=x2
y=45x+2
y=45x2
y=2x+45
The function for a line looks line y = kx+b, inwhich k is the slope of the line and b is the yintersect.
To make a 45degree angle with the xaxis, the line must have a slope of 1, so k = 1
When x=0,we get yintersect, that is
y_{intersect} = b = 2
So the line function is y=x+2
A is the choice