Answer:
s + 2s = 18, will be the equation.
Explanation:
Let 's' represents the cost of 1 shirt.
As per given statement in the question "a pair of pants costs twice as much as a shirt".
The cost of a pair of pants = $2s
The total cost of 1 pair of pants and 1 shirt = $18
so the equation to find the cost of 1 shirt will be
s + 2s = 18
3s = 18

s = $6