I need to show how to solve this problem using Green's Function

dy - x = f(x)
dx

with conditions
y(0)=1 y(0)=1

0<=x<=1

if anyone could help or even get me started wit this it would be greatly appreciated