Quest Global interview question

Asked to explain Solid principles and to write sample for Dependency inversion