there is no need for all this weird formating. it only serves to confuse people. do you mean

where and are constants?

note that the x-intercept is the x-value when y = 0, so that

...........................(1)

also, means, when x = -1, y = 27, so that

..........................(2)

there seems to be some info missing, because this system is inconsistent