H5.A and H5.B solution

A

https://youtu.be/sVeMjbsbI5U

B

https://youtu.be/EWUIVnBAdks