Working alone, Nick can clean the barn in nine hours. Jack can clean the same barn in ten hours. How long would it take them if they worked together

It will take them x hours, where

1/x = 1/9 + 1/10
Now just solve for x