Answer: 15 hours
Explanation:
Given : Patrick, by himself, can paint four rooms in 10 hours.
i..e Time taken by Patrick to paint the 4 walls = 10 hours.
Since rate of work =

We consider the entire job as 1.
Then, the rate of work done by Patrick =

If he hires April to help, they can do the same hob together in 6 hours.
i.e. the rate of work done by Patrick and April together =

Then, the rate of work done by April = rate of work done by Patrick and April together - rate of work done by Patrick

Hence,it will take 15 hours April to paint four rooms .