The graph of a function is a straight line with a slope of 2 and a y -intercept of 7. What is the equation of the function? Write your answer in y=mx+b form

The equation of the function is in the form y = mx + b, where m represents the slope and b represents the y-intercept.

Given that the slope of the function is 2 and the y-intercept is 7, the equation of the function is:

y = 2x + 7