2/3 of the cost of the sweater is $18
The total of the sweater is $27. Divide 18/1 by 2/3. You would get 27. Which means 1/3 of the sweater is $9. And 2/3 would be $18.