1er solution

 

2eme solution