Money and public economics

A worker earns $50,000 and pays $10,000 in total income tax. The marginal tax rate on the next dollar earned is 30%. What are the worker's average and marginal tax rates?