On Some Boundary Value Problems in Anisotropic Inhomogeneous Thermostatics and Elastostatics