Weegy: we can model this in terms of a linear equation.
y=mx+b
Since the question states that y varies directly with x, we know that m (the slope of the line) is 1. [ so:
y=x+b
Now, to solve for be we can sub in the two known values for x and y to complete our equation.
6=2+b
b=6-2
=4
So our final equation for the line is:
y=x+4
when x=5
y=(5)+4
=9 ] dandix14|Points 379|