drawing problem

hey everyone i wanna create a solid part like in pictures

whatever I do, the surface remains flat in the middle.can you help me?

SolidworksSketching