I've recently come into working with Adobe Illustrator to create icons and I was wonder how I could replicate this pre-made icon I found.
I originally thought of using two rectangles and joining them using shape builder and then manipulating the rounded corners but the two lower corners on the top rectangle need to be inward and the top rectangles can't round as far as is needed.
Then I went ahead and just made the top rectangle smaller and tried to use the pen tool to make the inner curve. This sort of works but it doesn't line up right and it leaves weird strokes behind.
What would be the best method to go about creating this simple shape in Illustrator?