(a) Bet, let's do the math. If Keisha sells 22 copies of "History is Fun", we plug that into the equation, right?
So we got P = 40c + 2400. We're swapping out the c for 22, because that's how many copies she moved. That makes the equation P = 40 * 22 + 2400.
Doing the math, it's like 880 + 2400, which equals to 3280.
So, if Keisha sells 22 copies, she's getting a bag of $3280.
(b) Alright, so now we got a total pay of $3680, and we're gonna figure out how many copies Keisha sold.
Here's the equation again: P = 40c + 2400. This time, we know P is $3680, so we swap that in to get 3680 = 40c + 2400.
We gotta isolate c, so we subtract 2400 from both sides: 3680 - 2400 = 40c. That leaves us with 1280 = 40c.
To find out c, we divide both sides by 40: 1280 / 40 = c. Doing the math, we get c = 32.
So, if Keisha's total pay is $3680, she sold 32 copies of "History is Fun". That's some serious hustle!