I told him thanks a lot I am trying to study ..
…..Nothing works at all

Your H is at fault but handling it that way won’t get you what you want.

It would have been better to tell him, he agreed to be home by 4:30 and he needs to carry out what he previously agreed to do. If he can't take your d to work, then it is up to him to pay for a ride so she gets there on time.

Natural and logical consequences are the best teachers/methods to changing poor behaviors.

And told him don't bother coming home.
A statement like this is just digging the hole deeper TTHO.

Then asks younger daughter what I had planned for dinner. So she comes in and asks me. I told her ask her dad what he plans because I am studying
That is the way to do it TTHO. I call this statement problem solving (what to have for dinner and how it is getting on the table) It is also natural and logical.