Let there be n number of balls in each packet.
∴ 6n x 8 = CP + 96
⇒48n = CP + 96 ------------ (i)
Also, 6 (n - 1) x 9 = CP + 90
⇒54n - 54 = CP + 90
54n = CP + 144 ------------(ii)
Solving equations (i) and (ii),
we get, n = 8
∴ CP = 48 x 8 96 = 384 - 96 = Rs.288
Each packet cost = Rs.48.