Text this: A note on finite group structure influenced by second and third maximal subgroups