Miles bought a pad of paper and some colored pencils. The pad of paper cost $10. The colored pencils cost $2 each. He had a coupon for 20% off. Miles went to the store with $36. He came home with $4. Miles wrote an equation to find , the number of colored pencils he bought. Then he tried to solve the equation.