Allied alloy travel between town A and B at a distance of 20 kilometres for the first 150 km to Lori travel at average speed of 50 km per hour and the remaining part of the journey at average speed of 45 km per hour calculate the speed for the whole journey

makes no sense.

Allied alloy ??
travel between town A and B at a distance of 20 kilometres ??

?? what does that have to do with going to Lori ?? the whole run-on sentence is just gobbledegook.