A price ceiling of P2 has been set, creating a shortage as demand exceeds supply at that price. A price control, either a price ceiling of P2 or a price floor of P2, has been implemented, leading to a shortage where demand is greater than supply at the set price. The solution is that a price ceiling has been set at P2.