p = number of pencil packs c = number of crayon packs
8p + 2c = 30
7c = 21
c = $3
One pack of crayons costs $3.00
Plug 3 into the top equation for the value of c and evaluate for p.
8p + 6= 30
- 6= -6
8p = 24
p = $3
One pack of pencils costs $3.00
The ratio of the price of the pack of crayons to the pack of pencils is 1:1.