‘-기는 하지만’ is used to support the positive statement in the first clause but it describes the opposite statement in the second clause. The subject in the first clause and the second clause is usually the same.
● 제 집은 편하기는 하지만 회사에서 좀 멀어요. (My house is convenient, but it’s a little far from the company.)
● 저는 수영을 배우기는 했지만 잘 못해요. (I learnt swimming, but I cannot swim well.)