positioning triangles on the coordinate plane