Need desperate help

How can i find weights of a combination portfolio given the required return of the portfolio and the return of a risk free asset??? Please help

Do you have the expected return of the portfolio as well? If so can’t you just write:
Required return = W1*ER(risky portfolio) + (1-W1)*Risk free return

Where W1 is the weight in the risky portfolio