Balancing the Budget: Understanding Trade-offs Between Supervised and Preference-Based Finetuning