I have two rectangles characterized by 4 values each :
Left position X, top position Y, width W and height H:
X
Y
W
H
if( X1<=X2+W2 && X2<=X1+W1 && Y1>=Y2-H2 && Y2>=Y1+H1 ) Intersect
In the question Y is the top position..
Note: This solution works only if rectangle is aligned with X / Y Axes.