EDIT: see bottom for a method of creating any number of combinations to create this proportion (0.75) of protein and carbs.
We can set this up as a matrix, and solve for any any combination of your choosing.
Firstly, write out the equations for this problem (the equation for protein, and the equation for carbs):
28.9*(chicken) + 6*(pasta) = 33
0.5*(chicken) + 31*(pasta) = 44
Note that the chicken values are both on the left, and the the pasta values on the right. We can use these numbers to create vectors as follows: for chicken (28.9g protein; 0.5g carbs) the vector is $\begin{bmatrix}28.9\\0.5\end{bmatrix}$ (protien value on top, carbs on bottom, as that is how I arranged the equations above).
The vector for pasta (6g protein; 31g carbs) is $\begin{bmatrix}6\\31\end{bmatrix}$
Finally, we can form a matrix from these equations (see the vectors above) as follows: $\begin{bmatrix}28.9 & 6 & 33\\0.5 & 31 & 44\end{bmatrix}$
Note that our goal can be described as follows: find values c1 and c2 such that:
c1*$\begin{bmatrix}28.9\\0.5\end{bmatrix}$ + c2*$\begin{bmatrix}6\\31\end{bmatrix}$ = $\begin{bmatrix}33\\44\end{bmatrix}$
Upon row reducing the matrix, we get: $\begin{bmatrix}1 & 0 & 0.85\\0 & 1 & 1.4\end{bmatrix}$
As equations, this equates to:
1*x + 0*y = 0.85 = c1 (how many servings of chicken we need)
0*x + 1*y = 1.4 = c2 (how many servings of pasta we need)
If you only care about the proportion, then you can scale this vector to produce an infinite number of combinations that create the same proportion of protein to carbs. For instance, multiply by 10 to get 8.5 servings of chicken and 14 servings of pasta. This will give you (roughly) 330g of protein and 440g of carbs, for a proportion of 0.75 protein:carbs.