The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.
Since they can do 19 programs in 19 hours, Then 52 programs in 52 hours respectively. And a 15 min interval Total time they take to do 52 programs is 52 hours 15 minutes.