You need to guide a robot from the red dot on the left to the green dot on the right, avoiding the blue walls along the way.

[Graphs generated by this script: setBorder(18);initPicture(1,25,1,10);axes(1,1,null,1,1);stroke='blue';strokewidth=4;rect([1,1],[25,10]);line([6,1],[6,6]);line([12,10],[12,3]);line([15,1],[15,3]);line([15,10],[15,7]);line([19,1],[19,6]);strokewidth=0;fill='red';circle([1,4],.3);fill='green';circle([25,4],.5);]

To do this, you must feed it a series of commands of the form "turn ____ degrees and move _____ units forward". Angles are measured in degrees, with positive angles turning counterclockwise, and negative angles turning clockwise. All turns are relative to the robot's current direction. The grid marks 1 unit squares.

From the red starting dot, with the robot facing directly to the right, issue your commands: (all commands should be given as decimal values)

Move 1: Turn degrees and move units forward
Move 2: Turn degrees and move units forward
Move 3: Turn degrees and move units forward
Move 4: Turn degrees and move units forward

To be successful, your robot must end up within the green ending dot, and not collide with any walls.