x=wt of small box y = large box wt
First delivery
5x + 2y = 96 solve for y = (96-5x)/2
Second Delivery
8y + 3x = 163 Substitute for y
8 ( ( 96-5x)/2 ) + 3x = 163 and solve for x
384 - 20x +3x = 163
17x=221
x=13 = small box wt kg y= (96-5x)/2 = large box wt = 15.5 kg