I didn't mention this in the video but the first part of this question is very similar to Q5 on the 2019 Edexcel AEA Maths Paper.
The Paper can be found here: https://qualifications.pearson.com/content/dam/pdf/Advanced%20Extension%20Award/Mathematics/2018/exam-materials/9811_01_que_20190815.pdf