Can someone please check my answer? I really need help with this

Answer:
a = – 8
Step-by-step explanation:
From the question:
When P(x) = 2x³ – ax² + 4x – 4 is divided by x – 1, it gives a reminder of 10.
To obtain the value of a, we shall equate x – 1 to 0 as illustrated below:
x – 1 = 0
x = 0 + 1
x = 1
Next, we shall substitute the value of x into 2x³ – ax² + 4x – 4 and equating it to 10 as illustrated below:
2x³ – ax² + 4x – 4 = 10
x = 1
2(1)³ – a(1)² + 4(1) – 4 = 10
2 – a + 4 – 4 = 10
2 – a = 10
Collect like terms
– a = 10 – 2
– a = 8
Divide through by –1
a = – 8
Therefore, the value of a is –8.