John started Tom live 15 km apart. On a day, john started to ride his bicycle towards Tom's house. A little lateral Tom stated to ride his bicyle towards john's house. When they met, john had ridden for twice the length of time as Tom and at four-sevenths of Tom's speed. How many km has Tom ridden when they met?