The total amount of money that Vivienne gets from selling her phones is 40*400 = <<40*400=16000>>16000
Since Aliyah has 10 more phones than Vivienne, she has 40+10 = <<10+40=50>>50 phones.
When she sells her phones, Aliyah receives 50*$400= $<<50*400=20000>>20000
Together they have $20000+$16000 = $<<20000+16000=36000>>36000
#### 36000