To graph a linear function as the given you need to find the coordinates (x,y) of two points.
To find the coordinates (x,y) of a function you choose a value for one of the variables (x or y) and find the value of the other variable, as follow:
When x= 1
You substitute the x in the equation of the function by 1:
Calculate the value of y when x=1:
You can identify the coordinates of one point as (1, 7/3)
When y=3You substitute the y in the equation of the function by 3
You clear the x to find its value:
You can identify the coordinates of other point as (3 , 3)
-----------------------------------------
Whit the coordinates of two points you graph the function:
1. Put the points in a plano x y:
2. Draw a line that go through the points:
Then, the graph above is the function y=1/3x+2