Response to the following questions:
1. Under the indirect method, how is the net cash provided by operating activities determined in a company's statement of cash flows?
2. Under the direct method, what are the most common cash inflows from and the most common cash outflows for operating activities in a company's statement of cash flows?
If possible, please give examples to better understand your response.