Cardio while gaining weight (muscle) is fine as long as your diet is good and you make sure to build in recovery time into your regimen. 311 asked a good question about your experience level as the 5x5 you listed is advanced and you do not want to overdo it too soon. Good luck on meeting your goals.