Cov/Corr of 2 returns with uneven probabilities on TEXAS BA II

Is there any possibility to calculate this on texas?

Given: probabilities, returns on A, returns on B

No, you have to calculate it by hands.