tugas 10 (advanced inheritance)