So, I have a question :
Calculate the heat energy for P4(s)-->P4(g)
If P4(s)+5O2(g)-->P4O10(s) DELTA H= -3005kjmol^-1
AND
P4(g)+5O2(g)-->P4O10(s) DELTA H= -3018kjmol^-1
btw don't have the answers for this , just wanted to know if my answer and method was right
So I was thinking because the products are the same there going to have the same enthalpy, and because the reactants have both O2 the effect of oxygen can sort of be disregarded , so subtract the two Delta Hs because you will be basically subtracting the difference between the reactants (that is the P4's )and hence my answer was -13kjmol^-1. Is this correct?
Thanks 
I like your thinking, but unfortunately I think the sign of your answer is incorrect. Using the 'standard' way of working this out, we keep the first equation the same, and reverse the second equation to get:
P4(s) + 5O2(g) ---> P4O10(s); Delta H = -3005kJ/mol (Equation 1)
P4O10(s) --> P4(g) + 5O2(g) ; Delta H = +3018kJ/mol (Reversed Equation 2)
Then if we 'add' the two equations together (or alternatively, consider performing the first reaction to get some P4O10(s), then perform the second reaction to change that P4O10(s) to give P4(g) + 5O2(g)), we get P4(s) + 5O2(g) ---> P4(g) + 5O2(g); Delta H = +13kJ/mol. As 5O2(g) appears on both sides, this means we've effectively used a certain amount of O2(g) to make the exact same amount of O2(g) - so this would have the same enthalpy and as you've mentioned, can be disregarded. Hence, we end up with P4(s) ---> P4(g); Delta H = +13kJ/mol.
In some sense, you can 'subtract' equations from each other, as reversing an equation turns it into its 'negative', and adding the negative of something is like subtracting the original 'something'. In this case, we 'added' the negative of Equation 2, to Equation 1. This would be the same as Equation 1 - Equation 2, which again gives you the net enthalpy change of +13kJ/mol.
I suppose one final way to look at it, would be to draw an energy profile of the two (original) reactions on the same axes. Because the products of the two reactions are exactly the same, you can put one level for P4O10(s). Now, P4(s) + 5O2(g) will be 3005kJ/mol above this level (note the reaction is exothermic, so the enthalpy of the product is lower than that of the reactants), and P4(g) + 5O2(g) will be 3018kJ/mol above this level. Hence, the P4(s) + 5O2(g) level is 13kJ/mol below the P4(g) + 5O2(g) level. As 5O2(g) makes the same enthalpy contribution to both levels, we can state that the hypothetical P4(s) level will be 13kJ/mol below the P4(g) level. Hence, if we were to draw a reaction profile of P4(s) --> P4(g), we would have the product 13kJ/mol above the reactants, and hence delta H would be +13kJ/mol.