The apple is half the mango, so apple = 1 unit and mango = 2 units. Together = 3 units = 870 g.
Plain numbers are given; italic underlined numbers are worked out.
The mango weighs 580 g.
Check: apple 290 + mango 580 = 870 g. ✓