Two goals in the third period extended the Boston lead to a 5-2 margin, the final from Wells Fargo Center as the Flyers closed out a three-game homestand.