Arlington and Mansfield were collectively granted about $162,000 in state funds to address concerns about trash and litter.