Exercise 1

Can you figure out how to do the following?

Exercise 2

Can you figure out how to do the following?