for I || m , the corresponding angles should be equal.
so,
2x + 14 = 180 - (5x + 12)
2x + 14 = 180 - 5x - 12
7x = 180 - 12 - 14
7x = 180 - 26
7x = 154
x = 154/7
x = 22
so the angles will be'
2x + 14 = 2(22) + 14 = 44 + 14 = 58 degrees
and
5x + 12 = 5(22) + 12 = 110 + 12 = 122 degrees