claire has a total of 80 pets consisting of gerbils and hamsters only . one - quarter of the gerbils are male , and one - third of the hamsters are male . if there are 25 males altogether , how many gerbils does claire have ?
"g + h = 80 . . . 1 ; g / 4 + h / 3 = 25 . . . . 2 or 3 g + 4 h = 25 * 12 = 300 g = 80 - h or 3 ( 80 - h ) + 4 h = 300 h = 300 - 240 = 60 then g = 96 - 60 = 36 e"
add(subtract(80, 25), const_1)