LMTD is originally is the change of temperature difference between cold and hot fluid.. Here temperature difference between cold and hot fluids are constant and then equal (150 - 100) = (90-40) = 50 degree.
I think that this does not happen in the real case. If you observe these temperature results in an apparatus, I think that you have to take into account another heat transfer other than the heat transfer at the main part of the heat exchanger including heat loss.
This case is very rare. The LMTD is limited to coaxial exchangers in which the two flows are perfectly against or co-current. If this happens it is better to use the UTN method, it is more general
When Th,i - Tc,o = Th,o - Tc,i, this means that Th,i-Th,o = Tc,o - Tc,i and that the temperature differences in both sides of the exchanger are the same. Temperature differences in both sides are the same if and only if the two fluids of the exchanger have the same Heat capacity rate (kg/s)*(J/kg.K). Actually the two fluids cannot have exactly the same heat capacity rate. Therefore, this does not happen in the real case. However, for calculation purposes, the LMTD can be considered equal to the temperature difference.
When the difference in temperature is constant throughout , then there is no meaning to find the log mean value. The difference 50 C itself the LMTD in this case.