A student collects 12 ladybugs for a science project. This is 9 fewer than the number of ladybugs the students collected yesterday. Write and solve an equation of ladybugs the students collected yesterday