A Tricky Equation

Find n if

13 + 33 + ... + (2n-1)3 = 199
23 + 43 + ... + (2n)3 242

Solution