If $$6$$ pens cost as much as $$5$$ pencils, then $$36$$ pens cost as much as pencils. 
Overseas Competition->Knowledge Point->Heuristics Skills-> Equivalent Substitution
$$6$$ pens = $$5$$ pencils, we use $\times6$ which give us $36$ pens = $30$ pencils 