MADRID (Agencies) - Cristiano Ronaldo took his tally to 19 goals in 17 matches with a double in Real Madrid's 3-2 win over Getafe on Monday as Jose Mourinho's side stayed within two points of Spanish league leader Barcelona. In an frenetic Spanish capital derby, Ronaldo and Mesut Oezil gave Madrid an early 2-0 advantage before Daniel Parejo pulled one back for the home side. Ronaldo added Madrid's third early in the second half and with the game apparently won, Kaka made his first appearance for Madrid since having surgery after the World Cup. However, Madrid went down a man when Alvaro Arbeloa was sent off and Jorge Angel Albin made it a dramatic finish by scoring Getafe's second in the 84th. Mourinho's team held on to win its fourth straight game and end Getafe's club-record winning streak at four league matches, but the Portuguese manager was not happy with his team's performance. "I did not like my team," Mourinho said. "Normally we are much more compact and concentrated. My team has to defend better, that is its identity." Getafe tried to take the match to its cross-town rivals, but Madrid's attack of Ronaldo, Oezil, Angel Di Maria and Karim Benzema picked them apart. Ronaldo had scored a double in last season's fixture at the Alfonso Perez stadium and was on his way to repeating the effort when he got Madrid's opener from the penalty spot 11 minutes in. Winger Di Maria earned the spot-kick when he was held up by defender Jose Manuel "Mane" Jimenez. Eight minutes later, Di Maria put Oezil through the center of the Getafe defence and the Germany playmaker used one touch to create the angle to fire past goalkeeper Jordi Codina. Down two goals, Getafe reacted, gaining control of possession and probing the Madrid defence. The reward came in the 29th when Parejo halved Getafe's deficit with a great individual effort. The ex-Madrid midfielder split two defenders before firing the ball just inside the left post. Despite Getafe's reply, Madrid remained dangerous in attack, and Benzema crossed to Ronaldo, who came within inches of tapping in Madrid's third five minutes before halftime. The pace did not wane in the second half, and in the 57th Oezil intercepted a pass for Benzema to set up Ronaldo in the area for the Portugal forward's 27th goal in 25 matches. Kaka, who played the last 15 minutes, said he was happy with his return to the pitch because "there were moments during my recovery when I didn't know if I would every play again. Now that is over and I hope to get steady playing time so I can continue recovering my form," the Brazil star said. With eight minutes remaining, Arbeloa was sent off after receiving a second yellow card for handball and Albin, a second-half substitute, took advantage of a poor clearance by Marcelo to score Getafe's second in the 85th, but there was to be no comeback. Earlier, Villarreal beat Almeria 2-0 on Monday to strengthen its grip on third place in Spain and stay undefeated at home. Villarreal defender Jose Manuel Catala scored the 22-minute opener when he headed in a free kick by Bruno Valero, who doubled Villarreal's advantage in the 58th with a perfectly placed free kick inside the right post of Diego Alves' goal. Coach Juan Carlos Garrido credited his defence for Villarreal's eighth victory in nine games at El Madrigal stadium that lifted the "Yellow Submarine" five points clear of fourth-place Valencia. "This aggressiveness (in defence) that the team had today was key and we won due to this strong defensive effort," he said.