Thanks for posting your query.
The risk depends on the route of sexual intercourse.
The exposure is 1.4 % as it is Unprotected receptive anal intercourse (URAI) from the other male, provided that person is HIV
The risk in a female to male transmission is 0.04%. Again, the lady should be HIV positive. You are definitely at risk since all the acts were unprotected.
It is advisable for you to repeat the test at 12 weeks to confirm on your HIV status.
Hope this helps.