Would the M or L of the following bike fit better based on the 18.5" size of the other one?

Bike I am looking at:



Frame of reference on 18.5" size: