@Franklie001, if you want to do it using simultaneous equations, here are the steps...
’1’ is the truck and ‘2’ is the crate.
1. Find the resultant force on the truck, ##F_1##, the sum of all the forces on the truck.
Hey, I'll even do that one for you:
Reading-off the truck's free body diagram gives:
##F_1 =5000 - 600 - F_{friction} = 4400 - F_{friction}##.
2. Find the resultant force on the crate, ##F_2##, the sum of all the forces on the crate.
You do that one yourself.
3. Apply ##F_1=m_1a## to the truck to get equation 1.
I'll do that one for you:
##4400 - F_{friction} = 8000a## (equation 1)
4. Apply ##F_2=m_2a## to the crate to get equation 2.
You do that one yourself.
5. You now have 2 simultaneous equations with unknowns ##a## and ##F_{friction}##. You solve them.
If you don't like simultaneous equations, see the suggested method in my previous posts.