The position of cyclists  would be as shown in the figure below

 

                                                              

 

Thus the distance between the two cyclists after 5 hours will be

 

                       5x  +  5(x+18) = 180

 

                              10x+90 =180

 

                                10x = 90

 

                                     x=9 mph

 

Thus the East bound cyclist is riding at 9 mph and the West bound cyclist at 27 mph.

 

                                                                                 ****