How do you solve the system 3x+y=12 and y=-x-2 using substitution?