class Worker:

    def __init__(self, name, surname, position, wage, bonus):
        self.name = name
        self.surname = surname
        self.position = position
        self._income = {"wage": wage, "bonus": bonus}


class Position(Worker):

    def __init__(self, name, surname, position, wage, bonus):
        super().__init__(name, surname, position, wage, bonus)

    def get_name(self):
        return self.name + ' ' + self.surname

    def get_income(self):
        return self._income.get('wage') + self._income.get('bonus')


a = Position('Егор', 'Сгибнев', 'Програмист', 200000, 15000)
print(a.get_name())
print(a.position)
print(a.get_income())