First, we know that the slope of a perpendicular line given the equation of the line it is perpendicular can be found using the following equation:

in this case, we have the line y = x + 3. Then, we have that its slope is m = 1, then, the perpendicular slope is:

now that we have the slope of the perpendicular line, we can use the point (-4,5) and the slope-point formula to get:

therefore, the equation of the line perpendicular to y = x+3 and passes through the point (-4,5) is y = -x + 1