Are you sure about 6:40 the visual shape you provided? here you have points ( 1,1,1) (-1,-1,-1) (-1,1,-1) (1,-1,-1) , but what if we go with (1,1,1) (-1,-1,-1) (1,-1,1) (1,1-1), anyway how do you choose your z when you have only information about the x,y