We are having trouble understanding the procedures for these problems. Todays problem is:

Night came and the mangroves and palmettos closed in on their victim. If 27 percent were mangroves and 511 were palmettos, how many total shrubs were on the attack?

This is the second time we have run across this type of problem. Can you please show us the formula and procedure to complete these?