How to write function | Biology homework help