A diet must provide exactly 580 mg of protein and 290 mg or iron. These nutrients will be obtained by eating meat and spinach. Each kg of meat contains 900 mg of protein and 200 mg of iron. Each kg of spinach contains 400 mg of protein and 1700 mg of iron. How many kgs of meat and spinach should be eaten in order to provide the proper amounts of nutrients?