A company produces two types of solar panels per year: x thousand of type A and y thousand of type B. The revenue and cost equations, in millions of dollars, for the year are given as follows. R(x,y)equals5xplus7y C(x,y)equalsxsquaredminus3xyplus7ysquaredplus12xnothingnegative 51yminus6 Determine how many of each type of solar panel should be produced per year to maximize profit.