- Step 1: From previous, B = Lawyer, C = Engineer, A = Teacher.
- Step 2: Remaining profession: Doctor. Remaining person: D.
- Step 3: D = Doctor.
- Step 4: Verify: A $\neq$ Doctor, C $\neq$ Teacher, B = Lawyer. All satisfied.
- Step 5: Option (4) is correct.
- Step 6: Confirm assignments are consistent.