Correct option is B
C (Lawyer): Unmarried, Gender unknown but likely male (since B and D are female)
D (Accountant): Female
A/E: One is the engineer and the other is the doctor.
Possible Assignments Let’s consider possible pairs:
If A is the engineer, then E must be the doctor.
If E is the engineer, then A must be the doctor.

E is a teacher. → False (As, B is a Teacher)
B is a doctor. → False (As, B is a Teacher)
A is an engineer. → It can be possible as the profession of A is not known.
A is an engineer