Ball on Line - Answer