H6.A and H6.B solution

A

B