A single letter by itself refers to a clockwise face rotation in 90 degrees (quarter turn):
A letter followed by an apostrophe means to turn that face counterclockwise 90 degrees:
A letter with the number 2 after it marks a double turn (180 degrees):