total ⬅ 0 x ⬅ 2 REPEAT 5 TIMES { total ⬅ total + x x ⬅ x + 3 DISPLAY( total ) }