The answer you’re looking for is 10
It is (2/3d)^3
Make sure the exponent is on the outside. This is because you are raising 2/3d. Not just D
39393939/5555 = 7091.61 so each gets 7091 carrots.
There will be 3434 carrots left over
Prime Factors of 60: 2,3, and 5
Prime Factors of 140: 2,5 and 7
All mental math no work needed.