Calculate the value of T for which T=m2 +am when m=3 and a=5