Draw two cards. Then discard a card unless there are five or more mana values among cards in your graveyard.
The mana value of a double-faced card in your graveyard is always the mana value of the front face.
The mana value of a land card is 0.
The mana value of a split card in the graveyard is the total mana value of both halves of that card. It does not have two mana values.
X is 0 when determining the mana value of a card in your graveyard.
“Five or more mana values among cards in your graveyard” means there are at least five different mana values among those cards.