Problem-1 example
Problem-2 example
Please see highlighted parts in attachment: (#2 lecture notes) and (#2 other lecture notes)
Problem-3 example
Also similar example is
Problem-4 example
Problem-5 example
Please see lecture notes: #5 examples-on page 25 -27
Problem-6 example
Problem-7 example
Attachments: