Can’t reinstall the OS because I messed it up in the disk utility
Hey everyone! I have a big problem. I tried to reinstall the OS and in recovery mode I decided to erase the internal disk as APFS. When tried to reinstall the OS I could not do it so I tried the internet recovery mode. I tried to install Sierra now but since the APFS was created I cannot install it any longer. I have two internal disks showing up in disk utility and I cannot erase the AppleAPFSMedia disk as the process fails. What can I do now to reinstall Sierra over again. You can find the disk utility photo and terminal disk utility photo attached. Any help would be welcome.
MacBook