I am having trouble figuring out which form of lavi to use, either lavis or laviĝis. Here is what I am trying to say:
Mi manĝis la pomon ke ne laviĝis.
I ate the apple that was not washed (i.e. cleaned).
Did I write that sentence correctly? In what situations do I use lavi and laviĝis?