Translate the following inference to logic notation: For all x, x_7 will cook if and only if x_7 is an electrician. For all x, x_7 will cook if and only if x_7 is a carpenter. Therefore for all x, if x_7 were a carpenter, then x_7 is an electrician.
forall x: P(x) <-> Q(x). forall x: P(x) <-> R(x). Therefore forall x: R(x) -> Q(x).