Text this: Nonstationary Temperature Distribution and Thermal Stresses in a Layered Elastic or Viscoelastic Medium