How is the yield of a district calculated?

The extra 4 faith is probably from envoys at religious city states. If you have 3 envoys at a religious city state, you get +2 faith per holy site. If you have 6 envoys at a religious city state, you get an additional +2 faith per holy site (for a total of 4).

So, your 6 would be 1 for the mountain, 1 for the sacred path rainforest, and 4 for city states.

Also, while districts in other cities count for the adjacency bonus, there are no half points for adjacency bonuses that require 2 adjacent tiles. And also, you cannot combine 2 different bonuses. For example, with holy sites, 1 adjacent forest and 1 adjacent district gets you 0 faith in adjacency.