Let s=smaller number L=larger number
The equation would look like:
L=s+6 (the larger number is 6 greater than the smaller)
s+3L=34
Plug in (s+6) into L of 2nd equation to solve for s (this is possible since L=s+6)
s+3s+18=34 Distribute the 3 among (s+6)
4s+18=34 Add the s terms
4s=16 subtract 18 from both sides
s=4
Divide both sides by 4
The smaller number is 4 so the larger is only 6 more than the smaller
L=4+6
L=10
So the larger number is 10.