fonzie , aunt bee and lapis paid $ 7000 , $ 8000 and $ 9000 respectively to buy a map to capt . plaidstache ' s treasure . when they found it , the treasure turned out to be worth a cool $ 900000 . how much of it should lapis get ?
a = 7000 b = 8000 c = 9000 a share 7 parts , b share 8 parts & c share 9 parts total 24 parts - - - - - > 900000 - - - - > 1 part - - - - - - - > 37500 c share = 9 parts - - - - - > 337500 e
multiply(9000, divide(900000, add(9000, add(7000, 8000))))