For the last step the mark scheme just skipped the step and made this fraction sec^2x.
Can anyone help?
Will be much appreciated