Added solution for 2b