Kathleen bought 4 dresses that each cost the same amount and pair of jeans that cost $40. The items she bought cost a total of $160 before tax was added. Write and solve an equation to find d the cost of each dress