a frog currently point 0 coordinate axis Ox it jump follow algorithm jump unit right second jump b unit leave jump unit right fourth jump b unit leave onformally frog jump number time current jump jump current position x position xa jump current position x position xb your task calculate position frog k jumpsbut one thing you watch t different frog answer t independent query