Jack has a total of 36 coins, all quarters and nickels. Together they are worth $4.40.How many of each type of coin does he have?
(algebraic solution whit just 1 variable)