When Peter has decided to shoot his Portugese crew members, he loads 4 shells into a double barreled shotgun and proceeds to fire it 5 times.
When Stewie plays "Simon", the machine blinks Blue, Green, Red, Green, Blue, Blue. Stewie says how he remembers it. When Stewie hits the colors, he makes mistakes and ends not on blue, but on red. It's wrong, but the machine accepts it.
There's no way Brian would know Lois was at that Motel.