Translate the following inference to logic notation: For all x, x_7 will drive a car if and only if x_7 is a carpenter. Mary is driving a car. Therefore Mary is a carpenter.
forall x: P(x) <-> Q(x). P(a). Therefore Q(a).