Subtract the difference from the total:
575,000,000 - 350,000 = 574, 650, 000
Divide the difference by 2:
574, 650, 000 / 2 = 287,325,000
That is the lower one, then add the difference for the higher one:
Restaurant A = $287,325,000 + $350,000 = $287, 675,000
Restaurant B = $287,325,000