Explanation:
Given data
Let the cheese be x
And strawberry be y
So
6x+6y=96-------1
x+4y=52----------2
Solving 1 and 2 simultaneously
Let us multiply equation 2 by 6 we have
6x+6y=96
6x+24y=312
-0-18y=-216
18y=216
y=216/18
y=12
Put y=12 in equation 2
x+4*2=52----------2
x+8=52
x=52-8
x=44
cheese =44
strawberry =12