Expression tree for the following query:

  from user in users

  where user.IsActive

  from task in user.Tasks

  where task.Project.Owners.Contains(user) &&

        task.DueDate < DateTime.Now &&

        task.Completed == false

  select new { task.Title, task.Status, user.UserName };