quads quints and cubes