Devan is making root beer floats out of root beer and ice cream. he makes two equal floats that each contain 10 ounces of root beer and then equal amounts of ice cream. if the total weight of the two floats is 31 ounces, how much ice cream is in each