Translate the following inference to logic notation: William is a nurse if and only if William is listening to a song. For all x, z will listen to a song if and only if z is a nurse. Therefore William is listening to a song if and only if William is a nurse.
P(a) <-> Q(a). forall x: Q(x) <-> P(x). Therefore Q(a) <-> P(a).