How do you write the equation for this word problem: DeShawn spent $650 on pairs of pants. Dress pants cost $100 and jeans cost $70. If he bought a total of 8, then how many of each kind did he buy? And can you please show this step by step. Thank you