Function solveSketchConstraints