A line passes through the points (5, -7.5) and has a y-intercept of 10. Write a linear function in the form of y = mx + b for this line.