A local bakery sells cupcakes and cookies. The total number of cupcakes and cookies sold in one day was 50. If the bakery sold 1.5 times as many cookies as cupcakes, how many cupcakes were sold that day?
Let $c$ represent the number of cupcakes sold. Then the number of cookies sold can be expressed as $1.5c$. Using the information provided, set up an equation to solve for the number of cupcakes.