Scattering of flexural waves by an inhomogeneity in a thin plate