It's correct and i clear explain
d->manager;
c->jeweller;
b->lawyer;
f&e->child;
grandfather of f is doctor so doctor is a;
obviously grandfather of e is doctor(a).......
d->manager;
c->jeweller;
b->lawyer;
f&e->child;
grandfather of f is doctor so doctor is a;
obviously grandfather of e is doctor(a).......