Write a public instance method doSquareDance() that takes no arguments and returns no value. It should walk the StickFigure along the four sides of a square of sides 150 in an anticlockwise direction. This means beginning with right ('R'), then up ('U'), left ('L') and finally down ('D') so that the StickFigure returns to its starting position.
I've seen this code posted elsewhere in the Ranch recently. There's no need for the xInc and yInc variables, just use the constants directly. Incrementing 'distance' does nothing because it is a local variable, it is never used again, and disappears at the end of the method.
And it should be increment multiplied by distance.