Linear equation brain fart

i’m having a mental block.

i know when my object is at y=620 another value should be A=0 and when it’s y=500 the value should be A=-70. what’s the formula for determining the value of A at various points of y?