haziq has $20.he buys 2 pencils.he has $25 after that.How much were the pencils if his father gave him $7?

he had 27 available

he spent 2 on 2 pencils
so they were a dollar each