The other constrain would be the number of hours it takes to make each one.
4 hours for a mountain bike would be 4x
5 hours for a road bike would be 5y
The hours need to be less than or equal to a total of 300 hours.
The missing constraint would be 4x + 5y ≤ 300.