A streetcar moves rectilinearly from station A to the next station B with an acceleration varying according to the law f=a−bx, where a and b are constant, and x is the distance from station A. The distance between the two stations and maximum velocity are