You can 
put this solution on YOUR website! how do u solve for substitution 
y=3x
5x+2y=
You forgot to put the number after the equal sign on the second equation.
I will assume you meant it to be 22.  So I'll pretend it's this:
         y = 3x
   5x + 2y = 22
Replace the y in the 2nd equation by what y equals in the 1st, namely (3x)
5x + 2(3x) = 22
   5x + 6x = 22
       11x = 22
         x = 2
Substitute (2) for x in y = 3x
         y = 3x
         y = 3(2)
         y = 6
Edwin