Jimmy is trying to figure out how many pennies are in his bank. He asked his mother to help him figure out the total. He tells her to let the amount in the bank equal 21x^3+18x^2+9x and each penny equal 3x. Can you help them figure out how many pennies are in the bank?