Tutorials on princapials of grapihch from 3d to 2d and back