The portfolio is

where

is the % investing A and

is
the % in B. The expected return
is
The
variance
is
Note

and

Next
we need to compute the
covariance
since

is the variance of T. Put everying together we
have
Put

we
get
