Based on the error message, you either didn't assemble the coinbase transaction properly or it is not the first transaction in the block which it must be. I'm not going to deconstruct your hex strings, nor do you provide the full block that you want to submit in Regtest.
Did you even try to read a bit in "Programming Bitcoin" as @j2002ba2 suggested. I highly recommend it to you, too!