Task 2.1: Public Inheritance