Pattern inverted hourglass

i am not getting to the correct solution can any body help me with sol

hi @agarwaldaksh360_2bae042448e62c08 refer