Total Working hours in a month for A = 160 hours
Let number of working days for A and B is '2x' and '3x' respectively.
Average working hours of B in a day = 'P' hours
Average working hours of E in a day = 'P + 5' hours
Number of working days for C = (3x + 1)
Let average working hours in day for A and D is 'y' each.
Number of working days for D = 2y
Total Working hours for D = 2y * y = 160 * (5/4)
2y2 = 200
y2 = 100
y = 10
For employee A:
2x * 10 = 160
x = 8
Let total working hours for B and C is '6z' and '10z' respectively.
| Employee | Number of working days | Average working hours | Total working hours | 
| A | 16 | 10 | 160 | 
| B | 24 | P | 6z | 
| C | 25 | ---- | 10z | 
| D | 20 | 10 | 200 | 
| E | ---- | (P + 5) | ---- | 
Employee A:
Basic salary = 250 * 160 = Rs.40000
DA = 40% of 40000 = Rs.16000
Basic salary including DA = 40000 + 16000 = Rs.56000
Employee contribution in EPF = 12% of 56000 = Rs.6720
Employee D:
Basic salary = 250 * 200 = Rs.50000
DA = 40% of 50000 = Rs.20000
Basic salary including DA = 50000 + 20000 = Rs.70000
Employer contribution in EPF = 12% of 70000  -  8.33% of 15000 = 8400  -  1249.5 = Rs.7150.5
Required difference = 7150.5  -  6720 = Rs.430.5