You can put this solution on YOUR website! Ratio of 7 to 8 means in this case 7 parts for one person and 8 parts for the other person. This is 7+8=15 total parts. Now you just use the fraction obtained using these 15 parts.
One person receives dollars and the other person receives dollars.