Guess the vertex and sides of given shape