A clothing company has budgeted $58,000 for the purchase of 7 sewing machines. The 7 sewing machines are to be chosen from two models, model X and model Y. If a model X sewing machine costs $8,000 and a model Y sewing machine costs $9,000, how many model X sewing machines should the company purchase to use exactly the budgeted money?

1 answer

58 = 8 x + 9 (7-x)

58 = 8 x - 9 x + 63

x = 5