I want to know how we could use the quantities we found by solving simultaneous equations, directly into plotting graphs. For example I have this Mathematica code; it gives the values of a and b but does not plot.
Clear[a, b]
Solve[{a + b == 30, 2*a + 3*b == 50}, {a, b}]
Plot[a*x + b*x, {x, 0, 10}]

{}button above the edit window. The edit window help button?is also useful for learning how to format your questions and answers. You may also find this meta Q&A helpful – Michael E2 Jun 16 '16 at 17:53