Need help finding an equation to calculate size and position to look 3D

I’m trying to code a function that will change the size an positioning of a flat 2d plane according to a ‘zoom’ variable. Each flat 2d plane is given a ‘zPos’ variable, which is constant. This works in such a way that a zpos of 0.5 will move have as fast and be half the size of a zPos of 1, and a zPos of 2 will be double the size and speed. my first effort was making someting that was calculatedZoom = zPos*Zoom. The issue with this is that it literally looked like a camera zoom… i know this sounds a bit weird but even though I’ve called my variable ‘zoom’, I want it to work more like moving forwards and backwards in a 3d space, where things closer to you will grow faster than things further away. That linear formula i tried make things look very flat and it didnt look like i was in a 3d space, with perspective being warped as i went forward and backward. then i tried another formula, which was zPos*(zoom^zPos). This works when you zoom in and looks exactly how I want it to be, but when i zoom out things closer towards you shrink much faster (video attached). ive been on this problem for so long and i just want some help/guidance on how to solve this, as im not very skilled with math gamedev stuff and ive been completely stuck on this problem for days.

video - https://youtu.be/LzxFtPmam-g

thanks for reading.