Samantha bought 26 total fish. Each goldfish cost 3 dollars and each guppy costs 4 dollars. She spent 86 dollars total. How many guppies did she buy?
f = # goldfish price = 3f
g = guppies = 26-f price = 4(26-f) summed = 86 dollars
3f + 4 ( 26-f) = $ 86 solve for 'f' the number of goldfish
then guppies = 26-f