It is "B", written incorrectly, because Brett said "They were beautiful." But after that it said "replied Brett." It should not have the period after "They were beautiful" but instead a comma. This would be how it would look if correct: "They were beautiful," replied Brett. "But I wasn't close enough to take good pictures." I hope you understand.