Hats, T-shirts, and jackets are sold at a rock concert. 3 hats, 2 shirts, and one jacket costs $140. Two hats, two shirts, and 2 jackets cost $170. One hat, 3 shirts, and 2 jackets cost $180. Create a system of 3 equations to model the situation. Assume the price of hats is x, shirts is y and jackets is z.