AeroVect Technologies Interview Question

They asked me to design a class and do some inheritance stuff