X->Z (deleted Z attribute, trivial FD)
The trivial part of XZ->Z is Z->Z. I don't think you can derive X->Z from XZ->Z.
If #1 is wrong, this #2 and #3 are also wrong.
Numbers 4-7 in your answer are right. (Your answer that's inside your question, that is.)
From your comment to Ziyao Wei,
- XZ->Y 2. XZ->B 3. YA->C 4. A->G 5. C->W 6. B->G
Number 4 is wrong. Correct it, and you've found the minimal cover. Also, you said
I'm just confused about whether or not Y can be deleted from 4. if the
implication is derived from XZ.
If you post your reasoning--how you derived A->G from XZ->Y and YA->C--then someone can probably show you where your reasoning went astray.