John bought some pens and pencils. After he sold 1/3 of the pens and 3/5 of the pencils, he had twice as many pens as pencils left. Given John bought 50 more pens than pencils, how many pens and pencils did John have altogether?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John bought 50+x pens and x pencils.
(50 + x - 1/3(50 + x)) / (x + 3/5x) = 2
x = 250
50+x + x = 550
