As we know that a straight line is represented by its equation, which is in the form of y = mx + c where m is the gradient and c is the y-intercept of the line.
Here, the gradient of the line l is given as 2 and the point (0,3) lies on the line l. We can use the point-slope form of a line to write the equation of line l.
The point-slope form of a line is given by:
y - y1 = m(x - x1)
where (x1,y1) is a point on the line and m is the gradient of the line.
Using the given information, we can substitute the values of m, x1 and y1 in the equation:
y - 3 = 2(x - 0)
Simplifying the equation:
y - 3 = 2x
Adding 3 to both sides of the equation:
y = 2x + 3
Therefore, the equation for line l is y = 2x + 3.