We determined above that the greatest perfect square from the list of all factors of 24 is 4. Furthermore, 24 divided by 4 is 6, therefore B equals 6. The Double Prime Factor Method uses the prime factors of 24 to simplify the square root of 24 to its simplest form possible.
12$-3$-3$=6 meaning they spent 6 Dollars on popcorn, and now have 6 left to spend, and with the cotton candy being $2 each, that means they bought 3 cotton candys