Solenoid valve with optocoupler and transistor

Thanks guys, i got everything but the part where i need to use 10 times de base current needed.

Why is that?