As often happens I'm not sure of the name of what I'm trying to do, so I'm having difficulty searching it. I know this is basic algebra, but my math is null so I'm struggling with it greatly.
I have a coordinate system that starts from 0,0 in the bottom left corner, and ends in 1,1 in the top right corner. I must "translate" from coordinates to pixels and viceversa. I'm including a diagram to clarify what I'm trying to do.