400K 20% only 80K, you can buy both using 20% down
400K 20% down is only 80K. Two 400K houses with 20% down is only 160K, only 10K above your 150K cash.
You can safely buy both using conventional loan.
Not sure why you are making this so complicated.