>>1164330I'm pretty sure this is in Ayer, Massachusetts, taken from the inbound commuter rail platform.
Train is on the eastbound track, then to the right is the westbound track, and the far right track is the old B&M Greenville Branch, which travels from Ayer through West Groton, Townsend, and Mason, NH before terminating in Greenville.