Yes.
If amount of petrol filled in the motorcycle is less, it will travel less distance and if the amount of petrol filled is more, it will travel more distance.
Hence, the amount of petrol filled in the motorcycle and the distance traveled by it are in direct proportion.