Lamine Yamal’s early opener and a second-half double for Raphinha did the damage.