You and your friend are selling magazine subscriptions for a fundraiser. After w weeks, you have sold (3w+8) subscriptions and your friend has sold (6w+6) subscriptions.