how many time do you have to multiply 4 to get 512?

127,
129,
130,
123,
or 128.

help help help

how many times do you have to multiply 4 to get 24? 6

You get that by dividing 24/4
So, do the same thing here, using 512/4