which sentence is correct?
1.hearing the door bell, I opened the door
2.hearing the door bell, the door was opened
3. to hear the door bell, I opened the door
4.to hear the door bell, the door was opened​