Consider the following premises. Robert is writing a letter if and only if Linda is drinking water. If Barbara were bored, then Linda is drinking water. If Robert writes a letter, then Barbara is bored. Can we infer the following from them? Robert is writing a letter if and only if Linda is drinking water.
That is one of the premises. Therefore, the answer is yes.