Meg cut a pie in half. Then she cut one of the halves in half. If she cut the pie one more time using this pattern, how many pieces of pie would there be in total when she was done?