math homework that i just can't solve.

Yes so i have some math assighments i need to solve and i am almost done (yes it is for a grade) but i just have problems with it. I need answers for these 2 problems:

1. Cody, Ray, and Amanda are kicking a soccerball. Cody always kicks to Ray, and Ray always kicks to Amanda, but Amanda is equally likely to kick the ball to either Cody or Ray. Find the stable-state vector and tell what it means.

2. The B & M Company produces batteries and motors. The battery division requires 3 batteries from the battery division and 1 motor from the motor division to produce 100 batteries. The motor division requires 4 motors from the motor division and 8 batteries from the battery division to produce 100 motors. B & M has received an order for 900 batteries and 400 motors. Determine the total production needed from each division to fill the order.