Let be the total number of shrubs. Since of the total are mangroves, than there are total mangroves. This number added to , which is the number of palmettos, is equal to the total .

On a side note, the total number of mangroves can then be seen to be:

or