In each case you want to find the scanning speed relative to the belt. If scanning in the same direction as the belt is moving this is the difference between belt speed and scanning speed. If scanning in the opposite direction to the belt's movement, this is the sum of belt speed and scanning speed.
And the time to complete a scan is belt length / scanning speed.
Once you have those values, then area scanned = scanning speed relative to belt x time to complete a scan x belt width.