Question
Gabby had some pencils, files and notebooks. The ratio of the number of pencils to the number of files was 7 : 1. After giving away 27 files, the ratio of the number of notebooks to the number of files was 3 : 1. Gabby bought another 161 notebooks. As a result, there were an equal number of pencils and notebooks. How many pencils did she have at first?
4 m

Click button first when a symbol is required. X

Gabby had some pencils, files and notebooks. The ratio of the number of pencils to the number of files was 7 : 1. After giving away 27 files, the ratio of the number of notebooks to the number of files was 3 : 1. Gabby bought another 161 notebooks. As a result, there were an equal number of pencils and notebooks. How many pencils did she have at first?