A proportion must use comparable ratios. Because the fraction on the left compares pencils to cost, the fraction on the right must do likewise, so it be .
The proportion is .
(Compare denominators)
(Find the value of x using multiple of denominator)
(Multiply:
)
Cost of 30 pencils is $5.00.
Cost of 30 pencils is $5.00.