HW 1.E and 1.F solution

1.E

https://www.youtube.com/watch?v=SX-m5aGJzR0

1.F

https://www.youtube.com/watch?v=Q2blRvKRjes