There are different flow and rate control mechanics, and to an extent they work separately from each other.
The Receivers window has to do with how much room in the buffer the device has to dedicate to that connection. As it takes the data from the buffer and sends it off to the waiting program, it will clear space on the buffer and constantly update the sender on its available buffer. So I don't think it is possible to find using the RTT or cwnd.
By threshold I assume you mean SSthresh. Over a sufficiently long period of time it should pretty closely match the speed of the bottleneck of the connection. IE. it should be 2Mbps in your example.
In traditional Slow Start it doubles every time the sender receives an ACK for one of it's segments, until it passes the bottleneck speed and slows down. So you can kind of plot where it should be by how many RTTs (and therefor how many ACKs should return), as long as you assume the initial value.
I would recommend reading TCP_IP Protocol Suite 4th ed. – B. Forouzan for a more complete explanation of this.
Note that a lot of this is out the window with the widely used implementation of TCP called Cubic TCP. It changes how Slow Start and Congestion Avoidance works significantly.
https://en.wikipedia.org/wiki/CUBIC_TCP
https://datatracker.ietf.org/doc/html/draft-rhee-tcp-cubic-00