Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
At the same store, Peter bought 2 pairs of pants and 5 shirts for $62 total, and Jessica bought 2 shirts for $20 total. Each pair of pants cost the same price, and each shirt cost the same price. How much does 1 pair of pants cost?

### Response:
 Mashati kila moja yaligharimu $20 / mashati 2 = $<<20/2=10>>10.
Acha P iwe bei ya jozi moja ya suruali. Peter alinunua jozi 2 za suruali na mashati 5 kwa 2*P + 5 mashati * $10/shati = $62.
Kwa kutoa $50 kwa pande zote mbili, tunapata 2*P = $12 + 5 * $10 = $62 - $50 = $12.
Hivyo, jozi 1 ya suruali inagharimu 12 / 2 = $<<12/2=6>>6.