The Spaniard defeated Ricardas Berankis, 6-2, 7-5, in his first tour-level singles match in five months.