What can be inferred from the following premises in a single inference step (ignoring inferences that add new predicates or constants)? David is a writer if and only if Robert is climbing a mountain. If Mary were a janitor, then David is a writer.
If David were a writer, then Robert is climbing a mountain. If Robert climbs a mountain, then David is a writer.