Problem: Do "the bag of flour" and "it" point to the same thing in the following sentence?

The sack of potatoes had been placed below the bag of flour , so *it* had to be moved first.
****
A: yes

Problem: Do "Sally" and "she" point to the same thing in the following sentence?

Beth didn't get angry with Sally , who had cut her off, because *she* stopped and counted to ten.
****
A: no

Problem: Do "Fred and Alice" and "they" point to the same thing in the following sentence?

Fred and Alice had very warm down coats , but *they* were not enough for the cold in Alaska.
****
A: no

Problem: Do "John" and "he" point to the same thing in the following sentence?

John ordered Bill to leave, so an hour later *he* left.
****
A:
no