The first shows an internal conflict related to emotion, while the second shows an external conflict related to cultural differences.
The first excerpt shows that Gogol feels like an unknown person by changing his name. It is a personal conflict related to his feelings.
The second excerpt shows the differences between Gogol's education and his parents' education that differ in cultural characteristics due to their geographical location.