Should delete be on left or right?
However, when dealing with text, pressing the Del deletes text to the right of the cursor. Pressing Backspace deletes text to the left (backwards) of the cursor.
Can there be 2 primary buttons?
Don't have more than one primary action button on the screen at a time. Let users focus on the task at hand. You can have more actions on the page, but make sure there is only one primary. Users have expectations of what a single button on a page will do, based on the page they are on.
What should cancel button do?
What does the Cancel button do exactly? It dismisses the user's current screen and brings them back to their previous one. This dismissive button is a safeguard to prevent unwanted changes to the system.