I'm confused, how would I do this?

Write a function in the form y = mx + b for the line that passes
through the points (2, 4) and (6, 16).