Generalizing Serre's Splitting Theorem and Bass's Cancellation Theorem via free-basic elements