An object is at rest at (2,1,5) and constantly accelerates at a rate of 2ms as it moves to point B. If point B is at (6,7,7), how long will it take for the object to reach point B? Assume that all coordinates are in meters.