Final answer:
The equation of the line with slope 1 and y-intercept 2 is y = 1x + 2.
Step-by-step explanation:
The equation of a line in slope-intercept form is commonly expressed as y = mx + b, where m represents the slope and b represents the y-intercept. Given a slope of 1 and a y-intercept of 2, the equation of the line is y = 1x + 2.
This directly follows from the definition where the coefficient of x (the number multiplying x) is the slope and the constant term is the y-intercept. Thus, this line will cross the y-axis at the point (0, 2) and will rise 1 unit for every 1 unit it moves along the x-axis.