A road from A to B is 11.5 km long, first goes uphill, then crosses a plain, and then goes downhill. A person walking from A to B covered this road in 2 h 54 min, and the return journey took him 3 h 6 min. His speed uphill is 3 km/h, on the plain 4 km/h and downhill is 5 km/h. What is the length of the plain part of the journey?