Question: How to type a code to solve this one as the followed picture?

Please Wait...