### I would like to know how to calculate a internal rate of return and yield to maturity

I am having difficulty finding the correct formula for calculating the yield to maturity and internal rate of return. I am not a finance major and find this very difficult Could you do problems 6-20 and 6-38 orn give a hint on how to complete? (See attached file for full problem description) Here are the cash flows for