Which one uses the correct verb form?

A. If my brother were here, he could explain how to make the computer program work.
B. If my brother was here, he could explain how to make the computer program work.