Die is the Afrikaans definite article, meaning the.
A helpful thing for English speakers is that Afrikaans does not change the definite article for gender. It is just die for all nouns.
So:
Afrikaans is much simpler than languages that have different words for the depending on gender or case.
Here wat means that or which.
It introduces a relative clause, describing die deksel:
So wat links the noun to the extra information about it.
Because this is a relative clause, and Afrikaans normally uses wat for that kind of clause.
Here, wat refers back to a noun:
By contrast, dat is usually used in a different kind of clause, often after verbs like say, know, or think:
So:
Because after wat, Afrikaans uses subordinate-clause word order.
The pattern here is:
So:
wat jy moet was
literally: that you must wash
This is normal Afrikaans structure. The main action verb often goes to the end of this kind of clause.
Compare:
Main clause: Jy moet die deksel was.
= You must wash the lid.
Relative clause: die deksel wat jy moet was
= the lid that you must wash
Because after modal verbs like moet, Afrikaans uses the bare infinitive.
So you say:
Not:
This is similar to English, where we say must wash, not must to wash.
Yes. In Afrikaans, was can be the verb wash.
So in this sentence:
It just happens to be spelled the same as English was, but it does not mean the English past tense of be here.
Afrikaans learners often notice this because the spelling looks familiar, but the meaning is different.
A rough English-friendly guide is:
Dit is die deksel wat jy moet was
≈ dit iss dee DEK-sul vut yay moot vas
A few helpful notes:
This is only an approximation, but it is a useful starting point for an English speaker.