If the lines y = 3x +1 and 2 y = x + 3 are equally inclined to the line y = mx + 4, find the value of m.