move the five to the other side to make Make it a -5
then combine -7 to -5 to make it -12 anytime you subtract a negative number to a negative number you do the same thing as adding to it when you use a positive number to a negative number you flip it the other way
3x=-12 is how it should be set up if done correctly divide 3X to -12 which should solve X equals -4