A family eats at a restaurant. The bill is $42. The family leaves a tip and spends $49.77.
1. How much was the tip in dollars?
2. How much was the tip as a percentage of the bill?