A street car moves rectilinear from station A to the next station B(from rest to rest ) with an acceleration varying according to the law f=a−bx; where a and b are constants and x is the distance from station A. The distance between the two stations and the maximum velocity are