Маруся, это [work problem]

1/x+1/y=1/t where x and y are individual hours and t is the time together

So, let's say 1/10 (Amanda)+1/y (Nate) =1/6 (together)

1/y=1/6-1/10(which =1/15)

y=15