Jerry had a total of 30 pens and pencils he decided to trade with his friend all his pens for pencils. if he traded every pen for two pencils he would have 48 pencils . how many pens and how many pencils did he have before the trade?