Solved GasStation

But couldn’t come up with the solution, looked up online.