Hello, Jocelyn,
The equation format for a straight line is y = mx + B, where m is the slope and b is the y-intercept (the value of y when x is zero). The question gives us m, the slope, as 3. It also provides the y-intercept, b, as 6 (when x is 0, as indicated by (0,6)).
Put m and b into the equation:
y = 3x + 6
Bob