Analysis of the A1 and A2 regions in the reaction π+p → π+π+π−p at 5 GeV/c