Brian spent $36 on fruit at the grocery store. He spent a total of $40 at the store. What percentage of the total did he spend on fruit?