Y/(x+ 1)+2 = y/x... 1.
(x- 1) y/x+ 14 = y...2 formula
1 x 7/y MINUS 2 x 1/y
7/(x+ 1)-(x- 1)/x = 7/x- 1
The solution is x=6 y=84.
There are 84 walnuts in this basket.