Let's keep compound wall separate and house entrance separate. If in one compound, you have 2 separate houses, let's treat them that way.
draw a simple map and send it here.
No, two main entrance in east direction is not suitable in same house because,
In a flat/apartment sunrays do not come from main entrance, it come from front or balcony of flat.So in flat/apartment is main entrance in N/E or E necessary or the front/balcony should be considerd in N/E or E direction as the sun rays come in whole flat from front/balcony.