We have the following:
let x cost of a box of candy
let y cost of a box of peanuts
[tex]\begin{gathered} \text{ Tim} \\ 16x+4y=132 \\ \text{ Kevin} \\ 20x+6y=190 \end{gathered}[/tex]resolving the system of equations:
[tex]\begin{gathered} 20x+6y=190 \\ 16x+4y=132\Rightarrow4y=132-16x\Rightarrow y=\frac{132-16x}{4} \\ \text{replacing:} \\ 20x+6\cdot(\frac{132-16x}{4})=190 \\ 20x+198-24x=190 \\ -4x=190-198 \\ x=\frac{-8}{-4} \\ x=2 \end{gathered}[/tex]now, for y
[tex]\begin{gathered} y=\frac{132\cdot16\cdot2}{4} \\ y=25 \end{gathered}[/tex]Therefore the cost of the box of candy is $ 2 and the cost of the box of peanuts is $ 25