Suppose that the price of beer rose by 7.8%, the price of pizza rose by 1.2%, and the price of chocolate did not rise at all. Also, suppose that beer represents 46 percent of the economy and pizza represents 42 percent. Chocolate is the rest of the economy. What was the inflation rate for this economy? Please show how the answer was achieved.