8th grade math
posted by saranghae12 .
I need someone to explain how to solve equations with two variables and tell me what the formula or equation is?
Please help and explain. Thank you!

what does the problem look like?

this is what the problem says
Find five pairs of numbers for shirt and cap sales that will allow the students to make a $600 profit exactly.
I want to know how to write the equation/formula and how to solve it 
46889