HELP ME with the QUIZ from UNIT 4 - LESSON 1

Hello, guys! :)

I just had my quiz from U4 and I got a wrong answer that I’m almost sure it’s not. I would like your guys’ opinion on it.

Which sentence is incorrect?

1) Barely had she broken when with her boyfriend when John asked her out

2) No soon they had gotten home when they saw that the back door was open

3) Scarcely had the demonstration started when trouble broke out and the police moved in to arrest people

The quiz says the wrong one is the second, but I was pretty sure it’s the first one. HELP ME :D