Let L be the weight of a large box and S be the weight of a small box. So we can set up two equations:
2L + 3S = 83
4L + 8S = 197
Solve for L or S in one of the equations and substitute it into the other equation and find the other unknown.
2L = 83 - 3S
L = (83 - 3S)/2
4(83 - 3S)/2 + 8S = 197
166 - 6S + 8S = 197
2S = 31
S = 15.5 kg
L = (83 - 3(15.5))/2 = 18.25 kg