calculating new displacement

i always wondered about how you come up with some numbers like that …wonder how many cubes i have :stuck_out_tongue: