Twin brothers, person A and person B, can mow their grandparent's lawn together in 40 minutes. Person A could mow the lawn by himself in 18 minutes less time than it would take person B. How long would it take person B to mow the lawn by himself?