We know that x · x · x is equal to 512. We know it cannot be negative because then the 512 would be negative. -2 x -2 x -2 is -8. -2 x -2 is 4. We know it cannot be B x = -6 or D. x = -8.
When you divide by a fraction you first flip it then you multiply straight across. For example 3 / (1/4) you flip then multiply which gives you 3/1 * 4/1 = 12/1 which simplifies to 12