If you were to have 13 bills of 50$ and 20$ each respectively, how many of each type of bills would you have? The total amount of money would be $410. Please use algebra to explain how you got your answer.