I mean for RAM I’d just look at what you are currently using when working by pulling up Activity Monitor and seeing if you have a ton of swap going on. And then figure out how long you plan on using the system and add some buffer assuming RAM needs will increase over time.