Newtons 2nd law ∑(all the external forces) =mass x acceleration
The first case tells us that the force required to overcome friction is 50N there is no acceleration i.e. constant velocity.
Second case let F be the required force then applying Newtons law again
F-50=500*2
so F=1050N
Jim