The function y=3x gives the distance in miles the whale swims in x hours.
The graph is a straight line starting at the origin (0,0) and with a positive slope of 3 which can be fixed by plotting one point (for example, (5,15)) and joining the point to the origin.