My equations show 40μs as well. However, I suspect that you actually just got lucky. Let's go through what is going on in this problem.
This problem (as you noticed) is different from the previous one because it does not include the time information. However, it does give you the critical piece of information regarding simultaneity by telling you that person A experienced both lightning bolts simultaneously.
You did right by evaluating the time light would take to go from each lightning bolt to each person. However, we must also take into account that lightning bolt 1 actually occurred first. Because lightning bolt 1 occurred before any other event happened, let's say that it happened at time t=0s. In that case, then lightning bolt 2 must have occurred at time t=20μs, in order for the light to reach person A simultaneously.
Next, ask yourself, "At what time will the light from lightning bolt 1 reach person B?"
Next, ask yourself"At what time will the light from lightning bolt 2 reach person B?"
The difference between these two times will yield the time difference. That was my strategy for solving this. You may have had an insight that I didn't, and so you might have taken a different, albeit equivalent, path to the answer.