On Tuesday, you invited 2 friends to your party. On Wednesday, each of these friends invited 2 other friends. This pattern continued Thursday and Friday. How many people were invited in all?​