Let me help you out on future questions like this. Go to Math/way .com (it’s free) and type in the question and it solves it. Please mark brainliest.
Since we know the triangles are similar, then just use proportions from the corresponding sides, check the picture below.
Slope intercept form is y=mx+b