The equation
![3x+y=5](https://img.qammunity.org/2023/formulas/mathematics/college/lnqe3ptqu8mqh9ini9dmsm677b3v21hhwz.png)
has two variables: x and y.
And since we have only one equation, the variables have infinite possible values, which are related to that equation.
Another way of seeing that is by calling x the independent variable, and then y will be the dependent variable (its value depends on the value of x).
So, we can isolate y on the left side of the equation, to obtain:
![\begin{gathered} 3x+y=5 \\ \\ 3x+y-3x=5-3x \\ \\ y=-3x+5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/acuvav892yqdn9bw6hlalxwvqb1yga5bmp.png)
Now, we see that the above equation represents a line (an infinite set of points), that has a slope -3 and a y-intercept 5.
Therefore, all the points on that line are solutions to the given equation.
If we graph that set of solutions on a xy-plane, we obtain the line below: