The value of m, if 3,18,m,42 are in proportion