We would pick the coordinates of x and y for the points closest to the line.
Looking at the first point at the bottom, x1 = 4, y1 = 12
Looking at the second point at the top, x2 = 20, y2 = 36
Slope, m = (y2 - y1)/(x2 - x1)
m = (36 - 12)/(20 - 4) = 24/16
m = 1.5
The equation of the line in the slope intercept form is written as
y = mx + c
Where c represents the y intercept
Substituting m = 1.5, x = 20 and y = 36 into the slope intercept equation, it becomes
36 = 1.5 * 20 + c
36 = 30 + c
c = 36 - 30
c = 6
Substituting c = 6 and m = 1.5 into the slope intercept equation, it becomes
y = 1.5x + 6
The correct option is B