A company sells brass and steel machine parts.One shipment contains 3 brass and 10 steel parts and costs $48. A second shipment contains 7 brass and 4 steel parts and costs $54. Find the cost of each type of machine part.