If you are trying to find x it is x=15-y
let's recall that d = rt, or namely distance = rate * time.
b = speed of the boat
c = speed of the current
now, we know that going downstream the boat went 16 miles total, that's going only one way, so the distance the boat travels downstream as well as upstream to return is 16 miles flat.
when going downstream, the boat is not really going at "b" speed, is really going at "b + c" speed, because the current is adding its speed to it, so is really going faster than "b".
when going upstream, the boat is not really going at "b" speed" either, is really going slower at "b - c" speed, because the current is against it and thus subtracting speed from "b".
let's take a look at those in a table
She buys 4 bags of candy each holding 10 pieces....thats 40 pieces of candy...her dad gives her 5 more...so thats 45 pieces of candy. She wants to split it equally with her six friends. (6 x 7) = 42....with 3 remaining pieces.
so she can give each friend 7 pieces of candy with 3 left over