The equation is:
11.9p + 23.1= 273
The problem will be then:
In a store, the cost of a single pant is $11.9. Josh, enters the store and chooses x-amount of pants with a blue shirt that costs $23.1, at the end, he paid a total amount of $273 dollars. How many pants did Josh buy?
P= number of pants (which is the variable)
Total paid= 273
Cost of shirt= $23.1
Therefore, Josh bought 21 pants at the store.