Note durations in LilyPond are written as numbers after the pitch name. A rest uses r instead of a pitch.

Match the target: two bars of 3/4 time using a mix of quarter notes, half notes, and rests.

LilyPond manual reference

Target

Your Result

Click Check to compile and compare