We must find real numbers c1 and c2 so that w = c1u1 + c2u2.
So, we have the system of equations:
2c1 + 4c2 = 1
-5c1 + 9c2 = 1
Solve for c1 and c2 to get c1 = 5/38 and c2 = 7/38.
The coordinate vector of w with respect to the given basis is then <c1, c2> = <5/38, 7/38>
In other words, <1, 1> = (5/38)<2, -5> + (7/38)<4, 9>