If Jayda spent $400 at the market, Aitana spent 2/5*400 = $160 more on handmade crafts.
Since Aitana spent $160 more than Jayda at the market, she spent $400+$160 = $<<160+400=560>>560.
The total amount of money they spent together is $400+$560 = $<<400+560=960>>960
#### 960