If the equation x^2-3x=a snd x^2-4x=5 have a common root, then value of a^2-14a+41=