small frames ($8): s
large frames ($15): L
Cost: 8s + 15L = 239 ⇒ 1(8s + 15L = 239) ⇒ 8s + 15L = 239
Quantity: s + L = 22 ⇒ -8( s + L = 22) ⇒ <u> -8s -8 L = -176 </u>
7L = 63
L = 9
Quantity: s + L = 22 ⇒ s + (9) = 22 ⇒ s = 13
Answer: 13 small frames, 9 Large frames
4 is the gif of 20, 12, and 8
I solved it on paper so it's easier.
But good luck ! :)
2* 10^4 would be bigger than 8* 10^3.
10^4 = 10000*2=20000
10^3 = 1000*8=8000