By solving the system of linear equations of two variables, A garment factory processes a batch of suits. It can cut 10 coats or 13 pairs of trousers every 15 meters. The existing material is 345 meters. In order to match the coats and trousers, how many meters of the material are allocated to the coats and trousers?

By solving the system of linear equations of two variables, A garment factory processes a batch of suits. It can cut 10 coats or 13 pairs of trousers every 15 meters. The existing material is 345 meters. In order to match the coats and trousers, how many meters of the material are allocated to the coats and trousers?

The fabric of the coat is x m, and the fabric of the trousers is y M
x+y=345
10x/15=13y/15
x=195
y=150