Calculate the marginal tax rate and average tax rate for a family with an income of $100,000 when the tax rate for the first 10,000 is zero, for the next 20,000 is 10%, for the next 20,000 is 20%, for the next 30,000 is 30%, and for any income over 80,000 is 40%.