Both tests use the single-colon pseudo element syntax. The first 'X' tests :first-letter, and the second 'X' tests :first-line.
Below, both letters should be lime-green. If any one of them is red, that particular test has failed.