Answer:
6 machines of each type were used
Explanation:
Data provided in the question;
Time taken by R to complete a job = 36 hours
Time taken by S to completed the same job = 18 hours
Let the number of machines used be x for each
Now,
the job completed in 1 hour by R =

thus,
the job completed in 1 hour by x number of type R =

similarly,
the job completed in 1 hour by S =

thus,
the job completed in 1 hour by x number of type S =

Now,
Together time taken by x of each type to completed the job = 2 hours
Therefore, job completed in 1 hour =

also,
=

or
=

or
=

or
=

or
x = 6
Hence,
6 machines of each type were used