Loops aren't just for one action. They can repeat a whole pattern.
To reach the flag, the character needs to move forward, then turn right. This pattern repeats three times.
Can you build a loop that contains both instructions to solve the maze?