A rabbit on a controlled diet is fed a total of 1 kg of carrot every day. There are 2 types of carrots that are fed to the rabbit. Type X carrot contains \(60\%\) protein and type Y carrot contains \(80\%\) protein. If the rabbit must be fed 650 grams of protein everyday, then how many grams of type X carrot must be fed to the rabbit?