each pack cost 3. he spent a total of 18 on gum. how many packs of gum did he buy.
what is the equation? (use c as your variable)