Buyers want less of a product as its price rises, and sellers offer more. Each relationship is a line in the price–quantity plane, and the market settles where they cross: the solution of two equations in two unknowns. A tax shifts one line and moves the solution.