Consider the following premises. If James were an electrician, then Richard is an astronaut. If Richard were an astronaut, then James is an electrician. Can we infer the following from them? If Richard were an astronaut, then James is an electrician.
That is one of the premises. Therefore, the answer is yes.