What are the indirect objects of these sentences? HELP PLEASE!!

1. Cocina una hamburguesa a tus hermanos.
2. Compra un auto a tu amigo.
3. Escribe una carta a tu padre.
4. Limpia el pelo al perro.