Unable to solve pattern 7

practice pattern 7 unable to solve it